package com.huali.pattern.iterator;

import java.util.Iterator;

public interface College {
    String getName();

    void addDepartment(String name, String desc);

    Iterator<Department> createIterator(); // 返回一个迭代器,遍历
}
